def resur_multiply(n):
    """
    计算 1 * 2 * ... * n
    :param n:
    :return:
    """
    if n != 0:
        return resur_multiply(n-1) * n
    else:
        return 1
if __name__ == '__main__':
    n = 10
    print(resur_multiply(n))